﻿using Cms.Core.Infrastructure.Entity;
using System;
using System.Collections.Generic;
using System.Text;

namespace Cms.Core.Application.Service.ModuleInfo.Dto
{
    /// <summary>
    /// 模块APIDto
    /// </summary>
    public class ModuleDto : EntityDto
    {

        /// <summary>
        /// 上级
        /// </summary>
        public Guid? ParentId { get; set; }

        /// <summary>
        /// 名字
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 链接地址
        /// </summary>
        public string LinkUrl { get; set; }

        /// <summary>
        /// 区域
        /// </summary>
        public string Area { get; set; }

        /// <summary>
        /// 控制器
        /// </summary>
        public string Controller { get; set; }
        /// <summary>
        /// Action名称
        /// </summary>
        public string Action { get; set; }

        /// <summary>
        /// 码
        /// </summary>
        public string Code { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int OrderSort { get; set; }
        /// <summary>
        /// /描述
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 是否激活
        /// </summary>
        public bool IsEnabled { get; set; }

        /// <summary>
        /// 参数
        /// </summary>
        public string Parameter { get; set; }

        /// <summary>
        /// 组名，就像控制器一样，
        /// </summary>
        public string Group { get; set; }

    }
}
